﻿using System;
using FazaDemo.ViewModels;

namespace FazaDemo.PL.Wpf
{
    class DistrictEntityUnloader : IEntityUnloader
    {

        private readonly DistrictViewModel _model;

        public DistrictEntityUnloader(DistrictViewModel model)
        {
            _model = model;
        }

        public string GetValue()
        {
            return _model.Name;
        }
    }
}